package cn.majingjing.core.api.scan;

import java.lang.reflect.Modifier;

/**
 * @author majinding888@foxmail.com
 * @date 2016-7-14 上午11:06:22
 */
public class ApiScanFilter implements ScanFilter {

	@Override
	public boolean accept(Class clazz) {
		return Modifier.isInterface(clazz.getModifiers());
	}

}
